package com.by.pojo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("产品实体类")
public class Product {
    @ApiModelProperty("产品id")
    private Integer id;
    @ApiModelProperty("产品编号")
    private String number;
    @ApiModelProperty("产品类型")
    private String type;
    @ApiModelProperty("产品单位")
    private String unit;
    @ApiModelProperty("产品名称")
    private String name;
    @ApiModelProperty("产品封面")
    private String cover;
    @ApiModelProperty("产品轮播图")
    private String carousel;
    @ApiModelProperty("产品分类id")
    private Integer categoryId;
    @ApiModelProperty("产品型号id")
    private Integer modelId;
    @ApiModelProperty("产品规格条码")
    private String specBarcode;
    @ApiModelProperty("产品规格编码")
    private String specCode;
    @ApiModelProperty("产品品牌id")
    private Integer brandId;
    @ApiModelProperty("产品材质id")
    private Integer materialId;


    @ApiModelProperty(name = "单重",notes = "")
    private Double singleWeight ;
    /** 外形尺寸(mm) */
    @ApiModelProperty(name = "外形尺寸(mm)",notes = "")
    private Double dimensions ;
    /** 产品图号 */
    @ApiModelProperty(name = "产品图号",notes = "")
    private String productDnumber ;
    /** 工厂图号 */
    @ApiModelProperty(name = "工厂图号",notes = "")
    private String factoryDnumber ;
    /** 原装图号 */
    @ApiModelProperty(name = "原装图号",notes = "")
    private String originalDnumber ;
    /** 库存 */
    @ApiModelProperty(name = "库存",notes = "")
    private Integer inventory ;
    /** 低库存预警 */
    @ApiModelProperty(name = "低库存预警",notes = "")
    private Integer lowInventoryWar ;
    /** 高库存预警 */
    @ApiModelProperty(name = "高库存预警",notes = "")
    private Integer highInventoryWar ;
    /** 价格 */
    @ApiModelProperty(name = "价格",notes = "")
    private Double price ;
    /** 排序 */
    @ApiModelProperty(name = "排序",notes = "")
    private Integer sort ;
    /** 品牌资料 */
    @ApiModelProperty(name = "品牌资料",notes = "")
    private String brandInfo ;
    /** 产品详情 */
    @ApiModelProperty(name = "产品详情",notes = "")
    private String productInfo ;
    /** 创建人ID */
    @ApiModelProperty(name = "创建人ID",notes = "")
    private Integer founderId ;
    /** 状态：0-不展示，1-展示 */
    @ApiModelProperty(name = "状态：0-不展示，1-展示",notes = "")
    private byte status ;
    /**  */
    @ApiModelProperty(name = "",notes = "")
    private Date createTime ;
    /**  */
    @ApiModelProperty(name = "",notes = "")
    private Date updateTime ;
    /**  */
    @ApiModelProperty(name = "",notes = "")
    private Date deleteTime ;
}
